package com.weitu.train.record.entity;

import com.weitu.permission.user.entity.UserDepartment;

import java.io.Serializable;
import java.util.List;

/**
 * Created by WT-SUN on 2017/5/11.
 */
public class RecordUser implements Serializable {

    private String id;
    private Integer isQualified;
    private String addTime;
    private String recordId;
    private String userId;
    private String score;
    private String planId;
    private String realName;
    private String code;
    private List<UserDepartment> userDepartmentList;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Integer getIsQualified() {
        return isQualified;
    }

    public void setIsQualified(Integer isQualified) {
        this.isQualified = isQualified;
    }

    public String getAddTime() {
        return addTime;
    }

    public void setAddTime(String addTime) {
        this.addTime = addTime;
    }

    public String getRecordId() {
        return recordId;
    }

    public void setRecordId(String recordId) {
        this.recordId = recordId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getScore() {
        return score;
    }

    public void setScore(String score) {
        this.score = score;
    }

    public String getPlanId() {
        return planId;
    }

    public void setPlanId(String planId) {
        this.planId = planId;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public List<UserDepartment> getUserDepartmentList() {
        return userDepartmentList;
    }

    public void setUserDepartmentList(List<UserDepartment> userDepartmentList) {
        this.userDepartmentList = userDepartmentList;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("RecordUser{");
        sb.append("id='").append(id).append('\'');
        sb.append(", isQualified=").append(isQualified);
        sb.append(", addTime='").append(addTime).append('\'');
        sb.append(", recordId='").append(recordId).append('\'');
        sb.append(", userId='").append(userId).append('\'');
        sb.append(", score='").append(score).append('\'');
        sb.append(", planId='").append(planId).append('\'');
        sb.append(", realName='").append(realName).append('\'');
        sb.append(", code='").append(code).append('\'');
        sb.append('}');
        return sb.toString();
    }
}
